#ifndef HEADERDELEGATE_H
#define HEADERDELEGATE_H

#include <QStyledItemDelegate >

class HeaderDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    HeaderDelegate(QObject *parent = nullptr);

    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;

    QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
};

#endif // HEADERDELEGATE_H
